package com.example.usharingtest.model;

import java.io.Serializable;
import java.util.Date;

public class Article implements Serializable{

	private int articleid;
	private String title;
	private String content;
	private String photopath;
	private String type;
	private int agreenum;
	private int collectnum;
	private int commentnum;
	private int transpondnum;
	private int readnum;
	private Date publishtime;
	private User user;

	public int getArticleid() {
		return articleid;
	}

	public void setArticleid(int articleid) {
		this.articleid = articleid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPhotopath() {
		return photopath;
	}

	public void setPhotopath(String photopath) {
		this.photopath = photopath;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public int getAgreenum() {
		return agreenum;
	}

	public void setAgreenum(int agreenum) {
		this.agreenum = agreenum;
	}

	public int getCollectnum() {
		return collectnum;
	}

	public void setCollectnum(int collectnum) {
		this.collectnum = collectnum;
	}

	public int getCommentnum() {
		return commentnum;
	}

	public void setCommentnum(int commentnum) {
		this.commentnum = commentnum;
	}

	public int getTranspondnum() {
		return transpondnum;
	}

	public void setTranspondnum(int transpondnum) {
		this.transpondnum = transpondnum;
	}

	public int getReadnum() {
		return readnum;
	}

	public void setReadnum(int readnum) {
		this.readnum = readnum;
	}

	public Date getPublishtime() {
		return publishtime;
	}

	public void setPublishtime(Date publishtime) {
		this.publishtime = publishtime;
	}
}
